#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int changdu(char* p)
{
	int count = 0;
	while (*p!='\0')
	{
		count++;
		p++;
	}
	return count;

}
int main()
{
	char arr[10] = "abcdefgh";
	int a = 0;
	a=changdu(arr);
	printf("%d", a);


	return 0;
}